﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Live;

namespace Rung.Soft.Jx3Tookit.Addon.FarmAlertAddon.Utility
{
    public class LiveConnectSessionChangedEventArgs : EventArgs
    {
        // Methods
        public LiveConnectSessionChangedEventArgs(Exception error)
        {
            this.Error = error;
        }

        public LiveConnectSessionChangedEventArgs(LiveConnectSessionStatus newStatus, LiveConnectSession newSession)
        {
            this.Session = newSession;
            this.Status = newStatus;
        }

        // Properties
        public Exception Error { get; set; }

        public LiveConnectSession Session { get; set; }

        public LiveConnectSessionStatus Status { get; set; }
    }

}
